/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package core.messages.client.creation;
import core.messages.Msg_One;

/**
 * 客户端发送的,表示连接服务器的Msg
 * @author Invince
 */
public class Msg_Connect extends Msg_One{
/*----------Attributs-------------------*/
    /**
     * Client的IP
     */
    protected String clientAdd;
    /**
     * Client的端口
     */
    protected int clientPort;
/*----------Public functions------------*/
/*----------Private functions-----------*/
/*----------Constructor-----------------*/
    public Msg_Connect(String sender, String receiver,String clientAdd,int clientPort) {
        super(sender, receiver);
        this.clientAdd=clientAdd;
        this.clientPort=clientPort;
    }
/*----------Gets and sets---------------*/
    public String getClientAdd() {
        return clientAdd;
    }

    public void setClientAdd(String clientAdd) {
        this.clientAdd = clientAdd;
    }

    public int getClientPort() {
        return clientPort;
    }

    public void setClientPort(int clientPort) {
        this.clientPort = clientPort;
    }

}
